home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / primgad / p3skel.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.3 KB  |  51 lines

  1.  
  2. // JavaScript wrapper for p3skel.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SKELETONGADGET_H = 1;
  7. include("real/primgad/p3constructor.js")
  8.  
  9.  
  10. var R3CLID_SKELETONGADGET = 361;
  11.  
  12.  
  13.  
  14.  
  15. // Description: For mapchanges
  16. // p3: Number, inner/outer angle in radians
  17.  
  18. R3SKELGM_SETTAB = 361004;
  19.  
  20. function mR3SKELGM_SETTAB(p3) {
  21.   DoA(this.r3obj, 361004, p3, R3TID_FLOAT, 0);
  22. }
  23.  
  24. // Description: Register new tab and gadget for the skeleton property gadget. New gadget can use
  25. //      dynamic tags to set new tags for the skeleton.
  26. // Returns: Boolean, true if succeeded.
  27. // p1: String, label for the tab to be created.
  28. // p2: Integer[], null terminated array of tag ids which should cause update to the gadget.
  29. // p3: Integer, class id of the gadget.    
  30.  
  31. R3SKELGCM_REGISTERGADGET = 361005;
  32.  
  33. function mR3SKELGCM_REGISTERGADGET(p1, p2, p3) {
  34.   return   DoA3(this.r3obj, 361005, p1, R3TID_STRING, 0, p2, R3TID_INTEGER, R3TNF_ARRAY, p3, R3TID_INTEGER, 0);
  35. }
  36.  
  37.  
  38.  
  39. function r3Skeletongadget () { 
  40.    this.base = r3God;
  41.    if(arguments.length) {
  42.       this.base(R3CLID_SKELETONGADGET, arguments);
  43.    }
  44.    // Methods
  45.    this.SETTAB=mR3SKELGM_SETTAB;
  46.    this.REGISTERGADGET=mR3SKELGCM_REGISTERGADGET;
  47.  
  48. }
  49.  
  50. r3Skeletongadget.prototype=new r3Constructorpropertygadget;
  51. // p3skel.h_H